/****************************************************************************
 * Filename : utypes.h
 * Date     : 14-11-2010
 *
 * Copyright (C) 2010  João Fernandes, Renato Rodrigues
 *
 * This file is part of Bubblecraft.
 *
 * Bubblecraft is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * Bubblecraft is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 ****************************************************************************/

#ifndef _UTYPES_H_
#define _UTYPES_H_

/** @defgroup UTYPES UTYPES
 * @{
 *
 * Contém definições de vários tipos de dados convenientes na elaboração do projecto
 */

typedef unsigned char  byte_t;  /** 8 bits */
typedef unsigned short word_t;  /** 16 bits */
typedef unsigned long  dword_t; /** 32 bits */


typedef enum {
  false = 0,  /** valor falso           */
  true  = 1   /** valor verdadeiro             */
} bool_t;     /** booleano defenido pelo utilizador  */

/** @} End of UTYPES */
#endif
